import request from "@/utils/request";

export function getAllShop(){
    return request.get('/shop/getAllShop')
}

export function getCustomerInfo(){
    return request.get('/customer/getCustomerInfo')
}

export function findItemByOrderId(orderId){
    return request.get('/customer/findItemByOrderId?orderId='+orderId)
}

export function findOrderByOrderId(orderId){
    return request.get('/customer/findOrderByOrderId?orderId='+orderId)
}

export function findHistoryOrder(){
    return request.get('/customer/findHistoryOrder')
}

export function getCustomerByCustomerId(customerId){
    return request.get('/customer/getCustomerByCustomerId?customerId='+customerId)
}